#app{
  width: 100%;
  height: 100%;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: visible !important;
  overflow-x: hidden !important;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, "\5FAE\8F6F\96C5\9ED1", Arial, sans-serif;
}

/* 滚动条的宽度 */
*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

/* 滚动条的设置 */
*::-webkit-scrollbar-thumb {
  border-radius: 6px;
  border: 2px solid transparent;
  background-color: rgb(221, 221, 221);
  background-clip: padding-box;
}

/* 滚动条鼠标移上去 */
*::-webkit-scrollbar-thumb:hover {
  background-color: rgb(187, 187, 187);
}

html[arco-theme='dark'] {
  *::-webkit-scrollbar{
    background-color: rgb(24, 24, 28);
  }

  *::-webkit-scrollbar-track-piece{
    background-color: #232324;
  }

  *::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2)
  }

  *::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.3);
  }
}

.anticon svg{
  display: block;
}
//卡片样式定制
body .arco-card {
  transition: all .2s ease-in-out;
  border-radius: 6px;
  overflow: hidden;
}

body .n-icon {
  vertical-align: middle;
}

body .antd-admin-card {
  border-radius: 4px;

  .ant-card-body {
    padding: 16px;

    //&:first-child {
    //  padding-top: 16px;
    //}
  }
}

body .antd-admin-card.tabs-card{
  .ant-card-body {
    padding-top: 0;
  }
}

body .n-modal{
  border-radius: 6px;
}

body .proCard {
  border-radius: 6px;

  .arco-card-body {
    padding: 16px;
  }
}
body .card-tabs{
 .arco-card-body{ padding-top: 3px}
}

.n-layout-page-header {
  //margin: 0 -10px;
}

//深色主题
body[arco-theme='dark'] {
  background: #000;

  //图标
  .arco-icon{
    color: #fff;
  }

  //布局
  .naive-admin {
    &-header {
      background: var(--color-bg-2);
    }
  }

  .naive-admin-header-logo{
    background: var(--color-menu-light-bg);
  }
}

.arco-btn-size-medium:not(.arco-btn-only-icon) .arco-btn-icon{
  margin-right: 0;
}

/*=========================*/
.roy-line-1 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.roy-line-2, .roy-line-3, .roy-line-4, .roy-line-5 {
  overflow: hidden;
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.roy-line-2 {
  -webkit-line-clamp: 2;
}

.roy-line-3 {
  -webkit-line-clamp: 3;
}

.roy-line-4 {
  -webkit-line-clamp: 4;
}

.roy-line-5 {
  -webkit-line-clamp: 5;
}

/*=========================*/

// 解决图片下面有缝隙
.arco-image{
  display: block;
}

.radius-10{
  border-radius: 10px !important;
  overflow: hidden;
}

.no-padding{
  padding: 0 !important;
}


//下边框线
.bor-b-1{
  border-bottom: 1px solid var(--color-neutral-3);
}

.upload-card-item-info {
  width: 100%;
}